package top.conangao.common.entity;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author ConanGao
 * @since 1.0
 **/
@RequiredArgsConstructor
@Getter
public enum ResponseResultEnum {
    UNAUTHORIZED(401,"权限不足"),
    SUCCESS(0,"成功"),
    ERROR(-1,"服务器内部错误");

    private final Integer code;
    private final String message;
}
